package com.accenture.portal.service;

import java.util.List;

import com.accenture.portal.model.Article;
import com.accenture.portal.model.UserArticle;

public interface ArticleService {
	public List<Article> getUnreadArticle(Integer user_id, int i );
	public List<Article> getUnreadList(Integer user_id,Integer start,Integer end);
	public int getUnreadCount(int user_id);
	public List<Article> getAllArticle();
	
	public Article getContent(Integer article_id);
	public void markAsReadMulti(Integer user_id, String[] markMulti);
	public void addArticle(Article article);
	public void deleteArticle(Integer article_id);
	public void editArticle(Article article);
	public int getTotalCount();
	public List<Article> getAllByPage(int start,int end);
	public Article getArticleById(Integer article_id);
}
